<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
 
* {
    font-size: 1rem;
    font-family: sans-serif;
    line-height: 1rem;
    /* color: #979797; */
}
button[attr="primary"]{
    width: 100px;
    border-radius: 20px;
    border:none;
    padding: 8px 10px;
    color: white;
    background: rgb(30, 150, 240);
}
button[attr="warning"]{
    width: 100px;
    border-radius: 20px;
    border:none;
    padding: 8px 10px;
    color: white;
    background: rgb(133, 158, 129);
}
    </style>
</head>
<body>
    <button attr="primary"> 连接</button>
    <button attr="warning"> 断连</button>
</body>
</html>